import Vue from 'vue'
import VueRouter from 'vue-router'
import Update from './index.vue'
import sharedObject from '../assets/js/vue-extend/sharedObject'
import jstools from 'jstools-common/dist/jstools.electron-renderer'
import xVueUI from '@xue5hen/x-vue-ui/lib/xVueUI.common.js'
import '@xue5hen/x-vue-ui/lib/xVueUI.css'

import '@/assets/css/index.less'

Vue.config.productionTip = false
Vue.prototype.$jstools = jstools

Vue.use(VueRouter)
Vue.use(sharedObject)
Vue.use(xVueUI)

let router = new VueRouter({
  routes: [],
  mode: 'history'
})

new Vue({
  router,
  render: h => h(Update),
}).$mount('#app')
